package com.anda.logistics.service;

import java.util.List;

import com.anda.logistics.model.SystemUser;
import com.anda.logistics.model.TruckInfo;
import com.anda.logistics.util.JQGridPager;
import com.anda.logistics.util.QueryFilter;
import com.anda.logistics.vo.JsonReturnVo;

public interface TruckInfoService {
	public void save(TruckInfo truckInfo, SystemUser user);
	public List<TruckInfo> getAll();
	public TruckInfo getOne(long id);
	public void deleteOne(long id, SystemUser user);
	public void update(TruckInfo truckInfo, SystemUser user);
	public List<TruckInfo> getPagerList(JQGridPager pager, String state);
	public long getRecords();
	public List getTruckCountByProvince();
	public long getPagedRecords(JQGridPager pager, String state);
	public int updateAuditState(String[] ids, SystemUser user);
	public TruckInfo getOneByMobileNo(String sMobileNo);
	public JsonReturnVo getListByQuery(QueryFilter qf);
}
